﻿using System;

namespace Kernelx.Common.DataAnnotations.Schema
{
    /// <summary>
    ///  
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class PrecisionAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public int precision { get; set; } = 18;

        /// <summary>
        /// 
        /// </summary>
        public int scale { get; set; } = 2;

    }
}
